﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Sealight.Core.Domain
{
    public class PaymentMethodEntity:BaseEntity
    {
        public virtual Guid PaymentMethodID { get; set; }
        public virtual string Name { get; set; }
        public virtual string Description { get; set; }
        public virtual DateTime CreatedDate { get; set; }
        public virtual DateTime ModifiedDate { get; set; }

        public virtual Sealight.Core.DataAdapter.payment_method ToDataAdapter()
        {
            return new DataAdapter.payment_method {id=this.PaymentMethodID, name=this.Name, created_date=this.CreatedDate, description=this.Description, modified_date=this.ModifiedDate };
        }
    }
}
